from openpyxl import Workbook

wb=Workbook()
ws=wb.active

ws["A1"]="大数据技术"
ws["A2"]="序号"
ws["A3"]="1"
ws["A4"]="2"
ws["A5"]="3"
ws["A6"]="4"
ws["A7"]="5"
ws["A8"]="6"
ws["A9"]="7"

wb.save("D://xba.xlsx")
